import type { defineComponent } from 'vue'
import type { OptionsProps, TextProps } from './editProps'
// 导出vue组件类型
export type VueComType = ReturnType<typeof defineComponent>
// 组件状态的配置项status类型，如
export interface ConfigStatusProps {
  [key: string]: TextProps | OptionsProps
}
// 组件状态，如config/defaultStatus/SingleSelect.ts
export interface Status {
  type: VueComType
  name: string
  id: string
  status: ConfigStatusProps
  // status: OptionsStatusProps | TypeStatus
}
